﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MovieCollectionManager
{
    public partial class LoanMainForm : Form
    {
        public LoanMainForm()
        {
            InitializeComponent();
        }

        private void buttonCreateLoan_Click(object sender, EventArgs e)
        {
            CreateLoanForm createLoanForm = new CreateLoanForm();
            createLoanForm.ShowDialog();
        }

        private void buttonReturnLoan_Click(object sender, EventArgs e)
        {
            ReturnLoanForm returnLoanForm = new ReturnLoanForm();
            returnLoanForm.ShowDialog();
        }

        private void buttonLoans_Click(object sender, EventArgs e)
        {
            LoansForm loansForm = new LoansForm();
            loansForm.ShowDialog();
        }

        private void buttonBack_Click(object sender, EventArgs e)
        {
            Close();
        }
    }
}
